<!--
  ~ Copyright (c) 2016-2017 Daniel Ennis (Aikar) - MIT License
  ~
  ~  Permission is hereby granted, free of charge, to any person obtaining
  ~  a copy of this software and associated documentation files (the
  ~  "Software"), to deal in the Software without restriction, including
  ~  without limitation the rights to use, copy, modify, merge, publish,
  ~  distribute, sublicense, and/or sell copies of the Software, and to
  ~  permit persons to whom the Software is furnished to do so, subject to
  ~  the following conditions:
  ~
  ~  The above copyright notice and this permission notice shall be
  ~  included in all copies or substantial portions of the Software.
  ~
  ~  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  ~  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  ~  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  ~  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  ~  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  ~  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  ~  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  -->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>BaseTaskChain (TaskChain (Core) 3.4.4-SNAPSHOT API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
    try {
        if (location.href.indexOf('is-external=true') == -1) {
            parent.document.title="BaseTaskChain (TaskChain (Core) 3.4.4-SNAPSHOT API)";
        }
    }
    catch(err) {
    }
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../co/aikar/taskchain/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/BaseTaskChain.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../co/aikar/taskchain/AsyncQueue.html" title="interface in co.aikar.taskchain"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../co/aikar/taskchain/GameInterface.html" title="interface in co.aikar.taskchain"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?co/aikar/taskchain/BaseTaskChain.html" target="_top">Frames</a></li>
<li><a href="BaseTaskChain.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">co.aikar.taskchain</div>
<h2 title="Class BaseTaskChain" class="title">Class BaseTaskChain&lt;T&gt;</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>co.aikar.taskchain.BaseTaskChain&lt;T&gt;</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../co/aikar/taskchain/TaskChain.html" title="interface in co.aikar.taskchain">TaskChain</a>&lt;T&gt;</dd>
</dl>
<hr>
<br>
<pre>public class <a href="../../../src-html/co/aikar/taskchain/BaseTaskChain.html#line.35">BaseTaskChain</a>&lt;T&gt;
extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="../../../co/aikar/taskchain/TaskChain.html" title="interface in co.aikar.taskchain">TaskChain</a>&lt;T&gt;</pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../co/aikar/taskchain/BaseTaskChain.html#execute-java.util.function.Consumer-java.util.function.BiConsumer-">execute</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function">Consumer</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&nbsp;done,
       <a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/BiConsumer.html?is-external=true" title="class or interface in java.util.function">BiConsumer</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a>,<a href="../../../co/aikar/taskchain/TaskChainTasks.Task.html" title="interface in co.aikar.taskchain">TaskChainTasks.Task</a>&lt;?,?&gt;&gt;&nbsp;errorHandler)</code>
<div class="block">Finished adding tasks, begins executing them with a done notifier and error handler</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../co/aikar/taskchain/BaseTaskChain.html#getCurrentActionIndex--">getCurrentActionIndex</a></span>()</code>
<div class="block">Called in an executing task, get the current action index.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/BiConsumer.html?is-external=true" title="class or interface in java.util.function">BiConsumer</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a>,<a href="../../../co/aikar/taskchain/TaskChainTasks.Task.html" title="interface in co.aikar.taskchain">TaskChainTasks.Task</a>&lt;?,?&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../co/aikar/taskchain/BaseTaskChain.html#getErrorHandler--">getErrorHandler</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../co/aikar/taskchain/BaseTaskChain.html" title="class in co.aikar.taskchain">BaseTaskChain</a>&lt;<a href="../../../co/aikar/taskchain/BaseTaskChain.html" title="type parameter in BaseTaskChain">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../co/aikar/taskchain/BaseTaskChain.html#getImplChain--">getImplChain</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>&lt;R&gt;&nbsp;R</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../co/aikar/taskchain/BaseTaskChain.html#getTaskData-java.lang.String-">getTaskData</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)</code>
<div class="block">Retrieves a value relating to a specific key, saved by a previous task.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../co/aikar/taskchain/BaseTaskChain.html#hasTaskData-java.lang.String-">hasTaskData</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)</code>
<div class="block">Checks if the chain has a value saved for the specified key.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>&lt;R&gt;&nbsp;R</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../co/aikar/taskchain/BaseTaskChain.html#removeTaskData-java.lang.String-">removeTaskData</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)</code>
<div class="block">Removes a saved value on the chain.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../co/aikar/taskchain/BaseTaskChain.html#setDoneCallback-java.util.function.Consumer-">setDoneCallback</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function">Consumer</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&nbsp;doneCallback)</code>
<div class="block">Changes the done callback handler for this chain</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../co/aikar/taskchain/BaseTaskChain.html#setErrorHandler-java.util.function.BiConsumer-">setErrorHandler</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/BiConsumer.html?is-external=true" title="class or interface in java.util.function">BiConsumer</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a>,<a href="../../../co/aikar/taskchain/TaskChainTasks.Task.html" title="interface in co.aikar.taskchain">TaskChainTasks.Task</a>&lt;?,?&gt;&gt;&nbsp;errorHandler)</code>
<div class="block">Changes the error handler for this chain</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>&lt;R&gt;&nbsp;R</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../co/aikar/taskchain/BaseTaskChain.html#setTaskData-java.lang.String-java.lang.Object-">setTaskData</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
           <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;val)</code>
<div class="block">Saves a value for this chain so that a task furthur up the chain can access it.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.co.aikar.taskchain.TaskChain">
<!--   -->
</a>
<h3>Methods inherited from interface&nbsp;co.aikar.taskchain.<a href="../../../co/aikar/taskchain/TaskChain.html" title="interface in co.aikar.taskchain">TaskChain</a></h3>
<code><a href="../../../co/aikar/taskchain/TaskChain.html#abort--">abort</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#abortIf-T-">abortIf</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#abortIf-T-co.aikar.taskchain.TaskChainAbortAction-">abortIf</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#abortIf-T-co.aikar.taskchain.TaskChainAbortAction-A1-">abortIf</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#abortIf-T-co.aikar.taskchain.TaskChainAbortAction-A1-A2-">abortIf</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#abortIf-T-co.aikar.taskchain.TaskChainAbortAction-A1-A2-A3-">abortIf</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#abortIfNot-T-">abortIfNot</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#abortIfNot-T-co.aikar.taskchain.TaskChainAbortAction-">abortIfNot</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#abortIfNot-T-co.aikar.taskchain.TaskChainAbortAction-A1-">abortIfNot</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#abortIfNot-T-co.aikar.taskchain.TaskChainAbortAction-A1-A2-">abortIfNot</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#abortIfNot-T-co.aikar.taskchain.TaskChainAbortAction-A1-A2-A3-">abortIfNot</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#abortIfNull--">abortIfNull</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#abortIfNull-co.aikar.taskchain.TaskChainAbortAction-">abortIfNull</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#abortIfNull-co.aikar.taskchain.TaskChainAbortAction-A1-">abortIfNull</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#abortIfNull-co.aikar.taskchain.TaskChainAbortAction-A1-A2-">abortIfNull</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#abortIfNull-co.aikar.taskchain.TaskChainAbortAction-A1-A2-A3-">abortIfNull</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#async-co.aikar.taskchain.TaskChainTasks.GenericTask-">async</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#async-co.aikar.taskchain.TaskChainTasks.Task-">async</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#asyncCallback-co.aikar.taskchain.TaskChainTasks.AsyncExecutingGenericTask-">asyncCallback</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#asyncCallback-co.aikar.taskchain.TaskChainTasks.AsyncExecutingTask-">asyncCallback</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#asyncFirst-co.aikar.taskchain.TaskChainTasks.FirstTask-">asyncFirst</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#asyncFirstCallback-co.aikar.taskchain.TaskChainTasks.AsyncExecutingFirstTask-">asyncFirstCallback</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#asyncFirstFuture-co.aikar.taskchain.TaskChainTasks.FutureFirstTask-">asyncFirstFuture</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#asyncFirstFutures-co.aikar.taskchain.TaskChainTasks.FirstTask-">asyncFirstFutures</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#asyncFuture-co.aikar.taskchain.TaskChainTasks.FutureGenericTask-">asyncFuture</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#asyncFuture-co.aikar.taskchain.TaskChainTasks.FutureTask-">asyncFuture</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#asyncFutures-co.aikar.taskchain.TaskChainTasks.Task-">asyncFutures</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#asyncLast-co.aikar.taskchain.TaskChainTasks.LastTask-">asyncLast</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#current-co.aikar.taskchain.TaskChainTasks.GenericTask-">current</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#current-co.aikar.taskchain.TaskChainTasks.Task-">current</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#currentCallback-co.aikar.taskchain.TaskChainTasks.AsyncExecutingGenericTask-">currentCallback</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#currentCallback-co.aikar.taskchain.TaskChainTasks.AsyncExecutingTask-">currentCallback</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#currentFirst-co.aikar.taskchain.TaskChainTasks.FirstTask-">currentFirst</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#currentFirstCallback-co.aikar.taskchain.TaskChainTasks.AsyncExecutingFirstTask-">currentFirstCallback</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#currentFirstFuture-co.aikar.taskchain.TaskChainTasks.FutureFirstTask-">currentFirstFuture</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#currentFirstFutures-co.aikar.taskchain.TaskChainTasks.FirstTask-">currentFirstFutures</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#currentFuture-co.aikar.taskchain.TaskChainTasks.FutureGenericTask-">currentFuture</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#currentFuture-co.aikar.taskchain.TaskChainTasks.FutureTask-">currentFuture</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#currentFutures-co.aikar.taskchain.TaskChainTasks.Task-">currentFutures</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#currentLast-co.aikar.taskchain.TaskChainTasks.LastTask-">currentLast</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#delay-int-">delay</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#delay-int-java.util.concurrent.TimeUnit-">delay</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#execute--">execute</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#execute-java.util.function.BiConsumer-">execute</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#execute-java.util.function.Consumer-">execute</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#execute-java.lang.Runnable-">execute</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#execute-java.lang.Runnable-java.util.function.BiConsumer-">execute</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#future-java.util.concurrent.CompletableFuture-">future</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#futures-java.util.concurrent.CompletableFuture...-">futures</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#futures-java.util.List-">futures</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#getCurrentChain--">getCurrentChain</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#multi-D1-D2-">multi</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#multi-D1-D2-D3-">multi</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#multi-D1-D2-D3-D4-">multi</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#multi-D1-D2-D3-D4-D5-">multi</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#multi-D1-D2-D3-D4-D5-D6-">multi</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#returnChain--">returnChain</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#returnData-java.lang.String-">returnData</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#storeAsData-java.lang.String-">storeAsData</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#sync-co.aikar.taskchain.TaskChainTasks.GenericTask-">sync</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#sync-co.aikar.taskchain.TaskChainTasks.Task-">sync</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#syncCallback-co.aikar.taskchain.TaskChainTasks.AsyncExecutingGenericTask-">syncCallback</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#syncCallback-co.aikar.taskchain.TaskChainTasks.AsyncExecutingTask-">syncCallback</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#syncFirst-co.aikar.taskchain.TaskChainTasks.FirstTask-">syncFirst</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#syncFirstCallback-co.aikar.taskchain.TaskChainTasks.AsyncExecutingFirstTask-">syncFirstCallback</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#syncFirstFuture-co.aikar.taskchain.TaskChainTasks.FutureFirstTask-">syncFirstFuture</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#syncFirstFutures-co.aikar.taskchain.TaskChainTasks.FirstTask-">syncFirstFutures</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#syncFuture-co.aikar.taskchain.TaskChainTasks.FutureGenericTask-">syncFuture</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#syncFuture-co.aikar.taskchain.TaskChainTasks.FutureTask-">syncFuture</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#syncFutures-co.aikar.taskchain.TaskChainTasks.Task-">syncFutures</a>, <a href="../../../co/aikar/taskchain/TaskChain.html#syncLast-co.aikar.taskchain.TaskChainTasks.LastTask-">syncLast</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="getImplChain--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getImplChain</h4>
<pre>public&nbsp;<a href="../../../co/aikar/taskchain/BaseTaskChain.html" title="class in co.aikar.taskchain">BaseTaskChain</a>&lt;<a href="../../../co/aikar/taskchain/BaseTaskChain.html" title="type parameter in BaseTaskChain">T</a>&gt;&nbsp;<a href="../../../src-html/co/aikar/taskchain/BaseTaskChain.html#line.63">getImplChain</a>()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../co/aikar/taskchain/TaskChain.html#getImplChain--">getImplChain</a></code>&nbsp;in interface&nbsp;<code><a href="../../../co/aikar/taskchain/TaskChain.html" title="interface in co.aikar.taskchain">TaskChain</a>&lt;<a href="../../../co/aikar/taskchain/BaseTaskChain.html" title="type parameter in BaseTaskChain">T</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="getCurrentActionIndex--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCurrentActionIndex</h4>
<pre>public&nbsp;int&nbsp;<a href="../../../src-html/co/aikar/taskchain/BaseTaskChain.html#line.79">getCurrentActionIndex</a>()</pre>
<div class="block">Called in an executing task, get the current action index.
 For every action that adds a task to the chain, the action index is increased.

 Useful in error or done handlers to know where you are in the chain when it aborted or threw exception.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../co/aikar/taskchain/TaskChain.html#getCurrentActionIndex--">getCurrentActionIndex</a></code>&nbsp;in interface&nbsp;<code><a href="../../../co/aikar/taskchain/TaskChain.html" title="interface in co.aikar.taskchain">TaskChain</a>&lt;<a href="../../../co/aikar/taskchain/BaseTaskChain.html" title="type parameter in BaseTaskChain">T</a>&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The current index</dd>
</dl>
</li>
</ul>
<a name="setDoneCallback-java.util.function.Consumer-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDoneCallback</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../src-html/co/aikar/taskchain/BaseTaskChain.html#line.88">setDoneCallback</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function">Consumer</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&nbsp;doneCallback)</pre>
<div class="block">Changes the done callback handler for this chain</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../co/aikar/taskchain/TaskChain.html#setDoneCallback-java.util.function.Consumer-">setDoneCallback</a></code>&nbsp;in interface&nbsp;<code><a href="../../../co/aikar/taskchain/TaskChain.html" title="interface in co.aikar.taskchain">TaskChain</a>&lt;<a href="../../../co/aikar/taskchain/BaseTaskChain.html" title="type parameter in BaseTaskChain">T</a>&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>doneCallback</code> - The handler</dd>
</dl>
</li>
</ul>
<a name="getErrorHandler--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getErrorHandler</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/BiConsumer.html?is-external=true" title="class or interface in java.util.function">BiConsumer</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a>,<a href="../../../co/aikar/taskchain/TaskChainTasks.Task.html" title="interface in co.aikar.taskchain">TaskChainTasks.Task</a>&lt;?,?&gt;&gt;&nbsp;<a href="../../../src-html/co/aikar/taskchain/BaseTaskChain.html#line.95">getErrorHandler</a>()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../co/aikar/taskchain/TaskChain.html#getErrorHandler--">getErrorHandler</a></code>&nbsp;in interface&nbsp;<code><a href="../../../co/aikar/taskchain/TaskChain.html" title="interface in co.aikar.taskchain">TaskChain</a>&lt;<a href="../../../co/aikar/taskchain/BaseTaskChain.html" title="type parameter in BaseTaskChain">T</a>&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The current error handler or null</dd>
</dl>
</li>
</ul>
<a name="setErrorHandler-java.util.function.BiConsumer-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setErrorHandler</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../src-html/co/aikar/taskchain/BaseTaskChain.html#line.104">setErrorHandler</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/BiConsumer.html?is-external=true" title="class or interface in java.util.function">BiConsumer</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a>,<a href="../../../co/aikar/taskchain/TaskChainTasks.Task.html" title="interface in co.aikar.taskchain">TaskChainTasks.Task</a>&lt;?,?&gt;&gt;&nbsp;errorHandler)</pre>
<div class="block">Changes the error handler for this chain</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../co/aikar/taskchain/TaskChain.html#setErrorHandler-java.util.function.BiConsumer-">setErrorHandler</a></code>&nbsp;in interface&nbsp;<code><a href="../../../co/aikar/taskchain/TaskChain.html" title="interface in co.aikar.taskchain">TaskChain</a>&lt;<a href="../../../co/aikar/taskchain/BaseTaskChain.html" title="type parameter in BaseTaskChain">T</a>&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>errorHandler</code> - The error handler</dd>
</dl>
</li>
</ul>
<a name="hasTaskData-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasTaskData</h4>
<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/co/aikar/taskchain/BaseTaskChain.html#line.116">hasTaskData</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)</pre>
<div class="block">Checks if the chain has a value saved for the specified key.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../co/aikar/taskchain/TaskChain.html#hasTaskData-java.lang.String-">hasTaskData</a></code>&nbsp;in interface&nbsp;<code><a href="../../../co/aikar/taskchain/TaskChain.html" title="interface in co.aikar.taskchain">TaskChain</a>&lt;<a href="../../../co/aikar/taskchain/BaseTaskChain.html" title="type parameter in BaseTaskChain">T</a>&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - Key to check if Task Data has a value for</dd>
</dl>
</li>
</ul>
<a name="getTaskData-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTaskData</h4>
<pre>public&nbsp;&lt;R&gt;&nbsp;R&nbsp;<a href="../../../src-html/co/aikar/taskchain/BaseTaskChain.html#line.127">getTaskData</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)</pre>
<div class="block">Retrieves a value relating to a specific key, saved by a previous task.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../co/aikar/taskchain/TaskChain.html#getTaskData-java.lang.String-">getTaskData</a></code>&nbsp;in interface&nbsp;<code><a href="../../../co/aikar/taskchain/TaskChain.html" title="interface in co.aikar.taskchain">TaskChain</a>&lt;<a href="../../../co/aikar/taskchain/BaseTaskChain.html" title="type parameter in BaseTaskChain">T</a>&gt;</code></dd>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>R</code> - Type the Task Data value is expected to be</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - Key to look up Task Data for</dd>
</dl>
</li>
</ul>
<a name="setTaskData-java.lang.String-java.lang.Object-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTaskData</h4>
<pre>public&nbsp;&lt;R&gt;&nbsp;R&nbsp;<a href="../../../src-html/co/aikar/taskchain/BaseTaskChain.html#line.142">setTaskData</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
                         <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;val)</pre>
<div class="block">Saves a value for this chain so that a task furthur up the chain can access it.

 Useful for passing multiple values to the next (or furthur) tasks.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../co/aikar/taskchain/TaskChain.html#setTaskData-java.lang.String-java.lang.Object-">setTaskData</a></code>&nbsp;in interface&nbsp;<code><a href="../../../co/aikar/taskchain/TaskChain.html" title="interface in co.aikar.taskchain">TaskChain</a>&lt;<a href="../../../co/aikar/taskchain/BaseTaskChain.html" title="type parameter in BaseTaskChain">T</a>&gt;</code></dd>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>R</code> - Type the Task Data value is expected to be</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - Key to store in Task Data</dd>
<dd><code>val</code> - Value to store in Task Data</dd>
</dl>
</li>
</ul>
<a name="removeTaskData-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeTaskData</h4>
<pre>public&nbsp;&lt;R&gt;&nbsp;R&nbsp;<a href="../../../src-html/co/aikar/taskchain/BaseTaskChain.html#line.154">removeTaskData</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)</pre>
<div class="block">Removes a saved value on the chain.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../co/aikar/taskchain/TaskChain.html#removeTaskData-java.lang.String-">removeTaskData</a></code>&nbsp;in interface&nbsp;<code><a href="../../../co/aikar/taskchain/TaskChain.html" title="interface in co.aikar.taskchain">TaskChain</a>&lt;<a href="../../../co/aikar/taskchain/BaseTaskChain.html" title="type parameter in BaseTaskChain">T</a>&gt;</code></dd>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>R</code> - Type the Task Data value is expected to be</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - Key to remove from Task Data</dd>
</dl>
</li>
</ul>
<a name="execute-java.util.function.Consumer-java.util.function.BiConsumer-">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>execute</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../src-html/co/aikar/taskchain/BaseTaskChain.html#line.164">execute</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function">Consumer</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&nbsp;done,
                    <a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/BiConsumer.html?is-external=true" title="class or interface in java.util.function">BiConsumer</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a>,<a href="../../../co/aikar/taskchain/TaskChainTasks.Task.html" title="interface in co.aikar.taskchain">TaskChainTasks.Task</a>&lt;?,?&gt;&gt;&nbsp;errorHandler)</pre>
<div class="block">Finished adding tasks, begins executing them with a done notifier and error handler</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../co/aikar/taskchain/TaskChain.html#execute-java.util.function.Consumer-java.util.function.BiConsumer-">execute</a></code>&nbsp;in interface&nbsp;<code><a href="../../../co/aikar/taskchain/TaskChain.html" title="interface in co.aikar.taskchain">TaskChain</a>&lt;<a href="../../../co/aikar/taskchain/BaseTaskChain.html" title="type parameter in BaseTaskChain">T</a>&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>done</code> - The Callback to handle when the chain has finished completion. Argument to consumer contains finish state</dd>
<dd><code>errorHandler</code> - The Error handler to handle exceptions</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../co/aikar/taskchain/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/BaseTaskChain.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../co/aikar/taskchain/AsyncQueue.html" title="interface in co.aikar.taskchain"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../co/aikar/taskchain/GameInterface.html" title="interface in co.aikar.taskchain"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?co/aikar/taskchain/BaseTaskChain.html" target="_top">Frames</a></li>
<li><a href="BaseTaskChain.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2016. All rights reserved.</small></p>
</body>
</html>
